<template>
  <div>
    <p>son2</p>
  </div>
</template>

<script>
import eventBus from "@/utils/eventbus";
export default {
  data() {
    return {};
  },
  mounted() {
    eventBus.$on("myevent", data => {
      console.log("data", data);
    });
  }
};
</script>
<style scoped>
</style>